// 资源管理
import Layout from "@/views/layout.vue";
export const resource = {
    path: "resource",
    name: "resource",
    component: Layout,
    // redirect: "/generalview",
    meta: {
        title: "资源管理",
        icon: "",
    },
    children: [
        {
            path: "generalview",
            name: "generalview",
            component: () => import("@/views/resource/generalview.vue"),
            meta: {
                title: "概览",
                icon: "",
            },
        },
        // {
        //     path: "land",
        //     name: "land",
        //     component: Layout,
        //     meta: {
        //         title: "土地资源",
        //         icon: "",
        //     },
        //     children: [
        //         {
        //             path: "overview",
        //             name: "overview",
        //             component: () => import("@/views/resource/land/overview.vue"),
        //             meta: {
        //                 title: "资源总览",
        //                 icon: "",
        //                 list: ["资源管理", "土地资源"],
        //             },
        //         },
        //         {
        //             path: "inventory",
        //             name: "inventory",
        //             component: () => import("@/views/resource/land/inventory.vue"),
        //             meta: {
        //                 title: "土地资源清单",
        //                 icon: "",
        //                 list: ["资源管理", "土地资源"],
        //             },
        //         },
        //         {
        //             path: "industry",
        //             name: "industry",
        //             component: () => import("@/views/resource/land/industry.vue"),
        //             meta: {
        //                 title: "添加新地块",
        //                 icon: "",
        //                 list: ["资源管理", "土地资源"],
        //             },
        //         },
        //     ],
        // },
        {
            path: "base",
            name: "base",
            component: Layout,
            meta: {
                title: "农场基地",
                icon: "",
            },
            children: [
                {
                    path: "overview",
                    name: "overview",
                    component: () => import("@/views/resource/base/overview.vue"),
                    meta: {
                        title: "资源总览",
                        icon: "",
                        list: ["资源管理", "农场基地"],
                    },
                },
                {
                    path: "inventory",
                    name: "inventory",
                    component: () => import("@/views/resource/base/inventory.vue"),
                    meta: {
                        title: "农场基地清单",
                        icon: "",
                        list: ["资源管理", "农场基地"],
                    },
                },
                {
                    path: "industry",
                    name: "industry",
                    component: () => import("@/views/resource/base/industry.vue"),
                    meta: {
                        title: "添加新产业分类",
                        icon: "",
                        list: ["资源管理", "农场基地", "农场基地清单"],
                    },
                },
            ],
        },
        {
            path: "brand",
            name: "brand",
            component: Layout,
            meta: {
                title: "品牌建设",
                icon: "",
            },
            children: [
                {
                    path: "brandinventory",
                    name: "brandinventory",
                    component: () => import("@/views/resource/brand/brandinventory.vue"),
                    meta: {
                        title: "品牌资深清单",
                        icon: "",
                        list: ["资源管理", "品牌建设"],
                    },
                },
                {
                    path: "brandaddnewlot",
                    name: "brandaddnewlot",
                    component: () => import("@/views/resource/brand/brandaddnewlot.vue"),
                    meta: {
                        title: "添加新地块",
                        icon: "",
                        list: ["资源管理", "品牌建设"],
                    },
                },
                {
                    path: "brandresource",
                    name: "brandresource",
                    component: () => import("@/views/resource/brand/brandresource.vue"),
                    meta: {
                        title: "品牌资源",
                        icon: "",
                        list: ["资源管理", "品牌建设"],
                    },
                },
            ],
        },
        {
            path: "equipment",
            name: "equipment",
            component: Layout,
            meta: {
                title: "数字装备",
                icon: "",
            },
            children: [
                {
                    path: "overview",
                    name: "overview",
                    component: () => import("@/views/resource/equipment/overview.vue"),
                    meta: {
                        title: "数字配件",
                        icon: "",
                        list: ["资源管理", "数字装备", "数字配件"],
                    },
                },
                {
                    path: "classify",
                    name: "classify",
                    component: () => import("@/views/resource/equipment/classify.vue"),
                    meta: {
                        title: "配件分类清单",
                        icon: "",
                        list: ["资源管理", "数字装备", "数字配件"],
                    },
                },
                {
                    path: "digitalfacility",
                    name: "digitalfacility",
                    component: () => import("@/views/resource/equipment/digitalfacility.vue"),
                    meta: {
                        title: "数字设备",
                        icon: "",
                        list: ["资源管理", "数字装备"],
                    },
                },
                {
                    path: "inventory",
                    name: "inventory",
                    component: () => import("@/views/resource/equipment/inventory.vue"),
                    meta: {
                        title: "数字设备清单",
                        icon: "",
                        list: ["资源管理", "数字装备"],
                    },
                },
                {
                    path: "addnewfacility",
                    name: "addnewfacility",
                    component: () => import("@/views/resource/equipment/addnewfacility.vue"),
                    meta: {
                        title: "添加新设备",
                        icon: "",
                        list: ["资源管理", "数字装备", "数字设备清单"],
                    },
                },
                {
                    path: "webofthings",
                    name: "webofthings",
                    component: () => import("@/views/resource/equipment/webofthings.vue"),
                    meta: {
                        title: "农业物联网",
                        icon: "",
                        list: ["资源管理", "数字装备"],
                    },
                },
                {
                    path: "webofthingsinventory",
                    name: "webofthingsinventory",
                    component: () => import("@/views/resource/equipment/webofthingsinventory.vue"),
                    meta: {
                        title: "物联网设备清单",
                        icon: "",
                        list: ["资源管理", "数字装备"],
                    },
                },
                {
                    path: "addnewwebofthingsfacility",
                    name: "addnewwebofthingsfacility",
                    component: () => import("@/views/resource/equipment/addnewwebofthingsfacility.vue"),
                    meta: {
                        title: "添加新设备",
                        icon: "",
                        list: ["资源管理", "数字装备", "农业物联网"],
                    },
                },
                {
                    path: "monitoring",
                    name: "monitoring",
                    component: () => import("@/views/resource/equipment/monitoring.vue"),
                    meta: {
                        title: "视频监控",
                        icon: "",
                        list: ["资源管理", "数字装备"],
                    },
                },
                {
                    path: "monitoringinventory",
                    name: "monitoringinventory",
                    component: () => import("@/views/resource/equipment/monitoringinventory.vue"),
                    meta: {
                        title: "监控分类清单",
                        icon: "",
                        list: ["资源管理", "数字装备"],
                    },
                },
                {
                    path: "addnewmonitoring",
                    name: "addnewmonitoring",
                    component: () => import("@/views/resource/equipment/addnewmonitoring.vue"),
                    meta: {
                        title: "添加新监控",
                        icon: "",
                        list: ["资源管理", "数字装备", "视频监控"],
                    },
                },
                {
                    path: "farmmachinery",
                    name: "farmmachinery",
                    component: () => import("@/views/resource/equipment/farmmachinery.vue"),
                    meta: {
                        title: "智慧农机",
                        icon: "",
                        list: ["资源管理", "数字装备"],
                    },
                },
                {
                    path: "farmmachineryinventory",
                    name: "farmmachineryinventory",
                    component: () => import("@/views/resource/equipment/farmmachineryinventory.vue"),
                    meta: {
                        title: "农机分类清单",
                        icon: "",
                        list: ["资源管理", "数字装备"],
                    },
                },
                {
                    path: "addnewfarmmachinery",
                    name: "addnewfarmmachinery",
                    component: () => import("@/views/resource/equipment/addnewfarmmachinery.vue"),
                    meta: {
                        title: "添加新设备",
                        icon: "",
                        list: ["资源管理", "数字装备", "智慧农机"],
                    },
                },
            ],
        },
    ],
};
